package cn.avalon.order.service;

import cn.avalon.basic.service.BaseService;
import cn.avalon.basic.utils.PageList;
import cn.avalon.order.domain.OrderPetAcquisition;
import cn.avalon.order.dto.OrderDto;
import cn.avalon.order.query.OrderPetAcquisitionQuery;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Avalon
 * @since 2022-09-08
 */
public interface IOrderPetAcquisitionService extends BaseService<OrderPetAcquisition> {

    PageList<OrderPetAcquisition> queryPage(OrderPetAcquisitionQuery query, HttpServletRequest request);

    void confirm(OrderDto orderDto);

    void cancel(Long id);
}
